import request from '@/utils/request'
// 查询通用数据库操作列表
export function deleteoperation(query) {
  return request({
    url: '/conf/bitableoperation/delete',
    method: 'delete',
    params: query
  })
}
// 查询BI的打标规则列表
export function bitableoperation(data) {
 
  return request({
    url: '/conf/bitableoperation/query',
    method: 'post',
    data: data.data,
    params:data.params
  })
}
// 查询通用数据库操作列表
export function listBitableoperation(query) {
  return request({
    url: '/conf/bitableoperation/list',
    method: 'get',
    params: query
  })
}
// 查询通用数据库操作列表
export function getUpdateTime(query) {
  return request({
    url: '/conf/bitableoperation/getUpdateTime',
    method: 'get',
    params: query
  })
}
// 查询BI的打标规则列表
export function selectPropertyCount(data) {
 
  return request({
    url: '/conf/bitableoperation/selectPropertyCount',
    method: 'post',
    data: data.data,
    params:data.params
  })
}
// 查询通用数据库操作列表
// export function selectPropertyCount(query) {
//   return request({
//     url: '/conf/bitableoperation/selectPropertyCount',
//     method: 'get',
//     params: query
//   })
// }
// 查询通用数据库操作详细
export function getBitableoperation(ID) {
  return request({
    url: '/conf/bitableoperation/' + ID,
    method: 'get'
  })
}

// 新增通用数据库操作
export function addBitableoperation(data) {
  return request({
    url: '/conf/bitableoperation',
    method: 'post',
    data: data
  })
}
// 新增通用数据库操作
export function sysData(data) {
  return request({
    url: '/conf/bitableoperation/sysData',
    method: 'post',
    params: data
  })
}
// 修改通用数据库操作
export function updateBitableoperation(data) {
  return request({
    url: '/conf/bitableoperation',
    method: 'put',
    data: data
  })
}

// 删除通用数据库操作
export function delBitableoperation(ID) {
  return request({
    url: '/conf/bitableoperation/' + ID,
    method: 'delete'
  })
}


